package cn.antho.org.domain;

import cn.antho.basic.domain.BaseDomain;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Log extends BaseDomain {

    // 操作者名称
    private String username;

    // 方法描述
    private String description;

    // 方法名称
    private String methodName;

    // 电脑IP
    private String IP;

    // 操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date createTime;


}
